home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 4 / USEnet 4.15 < prev    next >
Encoding:
Text File  |  1988-04-08  |  31.1 KB  |  829 lines  |  [TEXT/ttxt]

  1.  1-Feb-88 10:39:30-PST,32623;000000000000
  2. Return-Path: <usenet-mac-request@RELAY.CS.NET>
  3. Received: from RELAY.CS.NET by SUMEX-AIM.Stanford.EDU with TCP; Mon, 1 Feb 88 10:37:25 PST
  4. Received: from relay2.cs.net by RELAY.CS.NET id ad23226; 1 Feb 88 10:49 EST
  5. Received: from relay.cs.net by RELAY.CS.NET id aa24770; 1 Feb 88 10:34 EST
  6. Received: from sdr.slb.com by RELAY.CS.NET id ae24701; 1 Feb 88 10:30 EST
  7. Date: Mon, 1 Feb 88 09:37 EDT
  8. From: Jeffrey Shulman <SHULMAN@sdr.slb.com>
  9. Subject: Usenet Mac Digest V4 #15
  10. To: usenet-mac@RELAY.CS.NET, PIERCE%HDS@sdr.slb.com
  11. X-VMS-To: in%"usenet-mac@relay.cs.net",in%"PIERCE%HDS@SDR.SLB.COM"
  12.  
  13. Date: Mon 1 Feb 88 09:36:57-GMT
  14. From: Jeff Shulman <SHULMAN@SDR>
  15. Subject: Usenet Mac Digest V4 #15
  16. To: Usenet-List: ;
  17. Message-ID: <570706617.0.SHULMAN@SDR>
  18. Mail-System-Version: <VAX-MM(218)+TOPSLIB(129)@SDR>
  19.  
  20. Usenet Mac Digest     Sunday, January 31, 1988       Volume 4 : Issue 15 
  21.  
  22. Today's Topics:
  23.      Re: PostScript Programming
  24.      Lex for The Mac??
  25.      Re: Big Disks
  26.      Re: Looking for Mr. GoodDraw
  27.      Re: MS Excel versions
  28.      Re: MultiFinder/Finder 6.0 difficulties
  29.      Re: LSC prototypes question
  30.      Re: (LSC) Deep Dark Secrets Wanted!
  31.      4th Dimension not *that* good (?)
  32.      Re: Looking for Mr. GoodDraw
  33.      National Semiconductor 16M card and A/UX
  34.      Setting cursor position and mouse speed.
  35.      Re: SAS/GRAPH on Mac
  36.      Shareware Curiousity
  37.      Re: SAS/GRAPH on Mac
  38.      LSC DrawString() question!  Help!
  39.      Re: Anyone doing GPIB on MACII using National card?
  40.      VLSI design tools
  41.      Re: Anyone doing GPIB on MACII using National card?
  42.      AU/X gudelines for Mac application development
  43.      Yacc for the Mac!!!!
  44.      Re: Setting cursor position and mouse speed.
  45.  
  46. ---------------------------------------------------------------------- 
  47.  
  48. From: dwb@apple.UUCP (David W. Berry)
  49. Subject: Re: PostScript Programming
  50. Date: 25 Jan 88 02:50:38 GMT
  51. Organization: Apple Computer Inc., Cupertino, USA
  52.  
  53.     It also works by attaching a LaserWriter, downloading some stuff to it,
  54. and running your program in the LaserWriter.  Preview is by uploading
  55. bits from the LaserWriter to the mac.  It's a little slow but not
  56. painful.  The debugging stuff looks real neat though.
  57. >
  58. >This information is provided for informational purposes only.  This is
  59. >not an official Apple endorsement or review.
  60.     Ditto.
  61. -- 
  62.     David W. Berry
  63.     dwb@well.uucp                   dwb@Delphi
  64.     dwb@apple.com                   973-5168@408.MaBell
  65. Disclaimer: Apple doesn't even know I have an opinion and certainly
  66.     wouldn't want if they did.
  67.  
  68.  
  69. ------------------------------
  70.  
  71. From: nbanks@killer.UUCP (Nathan Banks)
  72. Subject: Lex for The Mac??
  73. Date: 25 Jan 88 01:20:23 GMT
  74. Organization: The Unix(R) Connection BBS, Dallas, Tx
  75.  
  76. Does anyone know where I might get lex for the Macintosh? Preferably
  77. sources!  I downloaded the DECUS lex and am having problems porting it.
  78. If someone else has done this it sure would save me the time.  I have
  79. heard of a tool called MacYacc could there also be a MacLex???
  80. -- 
  81. Nathan Banks
  82. UUCP: nbanks@killer.UUCP
  83. USPS: 2701-C West 15th Street     BELL: (214) 964-3174
  84.       Suite 411 Plano, Texas            (214) 519-3523
  85.       75075-7523
  86.  
  87.  
  88. ------------------------------
  89.  
  90. From: gillies@uiucdcsp.cs.uiuc.edu
  91. Subject: Re: Big Disks
  92. Date: 25 Jan 88 01:11:00 GMT
  93.  
  94.  
  95. I sure hope they go with 3.2Mb disks, even though the cost will probably
  96. be much higher.  I feel this way because:
  97.  
  98. (a) it has always been ridiculous to sell machines with a main memory
  99. larger than the main disks.  In the near future, multifinder will make
  100. 2Mb machines "standard" -- which would make 1.6Mb disks ridiculous.
  101.  
  102. (b) Once again it will be comfortable to run a floppy-only machine with
  103. no disk-swap polka.  This will make low-end macintoshes much more
  104. competitive.
  105.  
  106. (c) The cost in software distribution is horrendous.  Many companies
  107. today must distribute 2,3,4, or 5 disks with their product.  This costs
  108. money because:
  109.  (1) The floppies themselves cost money, so does the extra duplication.
  110.  (2) developers have to hassle with packing everything tightly on the
  111. disks.
  112.  
  113. Are you listening Apple?
  114.  
  115. Don Gillies {ihnp4!uiucdcs!gillies} U of Illinois
  116.             {gillies@p.cs.uiuc.edu}
  117.  
  118.  
  119. ------------------------------
  120.  
  121. From: wrp@biochsn.acc.virginia.edu (William R. Pearson)
  122. Subject: Re: Looking for Mr. GoodDraw
  123. Date: 25 Jan 88 14:55:48 GMT
  124. Organization: University of Virginia, Charlottesville
  125.  
  126. >I got Canvas just a few days ago, and although I haven't had a lot
  127. >of experience with it, I am so far very pleased with it. The only
  128.  
  129.     I have discovered that most of my problems with Cricket Graph and
  130. MacDraw are due to bugs in Cricket Draw.  But I am considering a better
  131. drawing program.
  132.  
  133.     Can anyone compare CANVAS (~$120 disc) with Cricket Draw (~$175 disc). 
  134. Cricket Draw seems to be able to do color, and is frequently reviewed
  135. with the more expensive Adobe Illustrator.  But I would like to make
  136. filled solid arcs (made of two arcs and two straight lines on the ends),
  137. and I have read that Cricket Draw will not group arcs and lines.  Does
  138. CANVAS?
  139.  
  140.     Any comparison would be helpful.
  141. -- 
  142. Bill Pearson
  143. wrp@virginia.EDU
  144.  
  145.  
  146. ------------------------------
  147.  
  148. From: LaserMan@cup.portal.com
  149. Subject: Re: MS Excel versions
  150. Date: 23 Jan 88 18:05:06 GMT
  151. Organization: The Portal System (TM)
  152.  
  153. MS Excel is at Version 1.06 or so I was told at MacWorld by a person in
  154. the MS Booth. I was there to complain about the MultiFinder bugs with
  155. 1.04 with regard to large memory spaces. I have 8megs and Excel bombs
  156. far to often as it uses more and more memory. I was told that by calling
  157. 1-206-882-8089 and asking Excel Product Support for the Excel 1.06 patch
  158. I would be fixed... Go for it!
  159.  
  160. Bob LaserMan Murrow
  161.  
  162.  
  163. ------------------------------
  164.  
  165. From: MICHAEL_CHRISTOPHER_VOGT@cup.portal.com
  166. Subject: Re: MultiFinder/Finder 6.0 difficulties
  167. Date: 23 Jan 88 20:33:39 GMT
  168. Organization: The Portal System (TM)
  169.  
  170. Another Problem:  Has anyone been able to get MacServer (V2.3) to work
  171. with system 4.2/6.0.  When I try to install it the only option I have is
  172. to install it as a user.  The server radio button is dimmed.
  173. Suggestions???
  174.  
  175. Thanks -Mike
  176.  
  177.  
  178. ------------------------------
  179.  
  180. From: rs4u+@andrew.cmu.edu (Richard Siegel)
  181. Subject: Re: LSC prototypes question
  182. Date: 25 Jan 88 16:05:58 GMT
  183. Organization: Carnegie Mellon University
  184.  
  185. Since I'm not a C ace, bear with me here... :-)
  186.  
  187. Given
  188.  
  189.     void myfun(x, y)
  190.     register int x, y;
  191.     {
  192.  
  193.     }
  194.  
  195. The legal prototype is 
  196.  
  197.     void myfun(int x; int y);
  198.  
  199. or its semantic equivalent. You can't use "register" in a prototype as
  200. you  have, because storage classes can't be used in prototypes, as you
  201. accurately  surmised.
  202.  
  203. Note that the actual function *can* use register vars as its arguments;
  204. you  have done that correctly.
  205.  
  206. The "invalid storage class" message is described in an appendix at the
  207. back of  the C user's guide, along with all of the other error messages.
  208.  
  209.         --Rich
  210. -- 
  211. ===================================================================
  212. Richard Siegel
  213. THINK Technologies, QA Technician (on leave)
  214. Carnegie-Mellon University, Confused Physics Major
  215. Arpa: rs4u@andrew.cmu.edu
  216. UUCP: {decvax,ucbvax,sun}!andrew.cmu.edu!rs4u
  217. ==================================================================
  218.  
  219.  
  220. ------------------------------
  221.  
  222. From: lawrence@bbn.COM (Gabriel Lawrence)
  223. Subject: Re: (LSC) Deep Dark Secrets Wanted!
  224. Date: 25 Jan 88 17:39:32 GMT
  225. Organization: Bolt, Baranek and Newman Inc., Cambridge MA
  226.  
  227. Of course the easiest way to make a DA live forever is to use the same
  228. "trick" that MultiFinder uses, place the DA into the System heap rather
  229. than the application heap.  There are no restrictions I know of that
  230. prevent a DA from placing a copy of itself into the System heap and
  231. altering the DCE information to indicate the new location of the DA. 
  232. For non-critical timing background operation, setting the DA dNeedTime
  233. header bit should suffice, relieving you from having to play games with
  234. the Vertical Blanking Interrupt Manager.  I haven't written any DA's
  235. that actually use this technique but it seems to work just fine for the
  236. other types of device drivers I've written. Does anybody detect any
  237. logical flaws to this approach?
  238. -- 
  239. =Gabe Lawrence=
  240. =BBN Communications=
  241.  
  242. USENET: ...!harvard!bbn!lawrence@BBN.COM
  243. INTERNET: lawrence@BBN.COM
  244.  
  245.  
  246. ------------------------------
  247.  
  248. From: hvt@tnosel.UUCP (henq)
  249. Subject: 4th Dimension not *that* good (?)
  250. Date: 24 Jan 88 21:48:15 GMT
  251.  
  252. Recently, someone invited remarks on the various DBMS we have for the
  253. Mac.
  254.  
  255. (I lost his address, thats why I post instead of mailing, sorry)
  256.  
  257. Though I personnally have only played a little with 4th, some people I
  258. know have tested the product to a larger extent. The message is they are
  259. dissappointed, after initially being pleased with the Maccish like  user
  260. interface.
  261.  
  262. The complaints are(the ones I remember):
  263.  
  264. 1. It is not possible to switch entry-lay outs with a single custom
  265. button- press. A menu-selection is always involved.
  266.  
  267. 2. Buttons are not displayed in 'browse' mode, only in modify or insert
  268. mode. This makes it impossible to browse through a file with
  269. custom-buttons.
  270.  
  271. 3. sometimes the screen gets not updated, for example after an 'Next
  272. Record'  instruction after a find.
  273.  
  274. 4. The way the scrolling fields  get drawn is ugly, arrows and thumbs
  275. are not clipped on their windows boundaries.
  276.  
  277. 5. The rumoured lack of speed indeed is a problem. A friend of mine has
  278. made a management information system of about 20 related files,
  279. containing customers, stock, repairs, invoices, etc.  When a customer
  280. calls, he is found by typing his code or his number, or by  browsing. If
  281. he wants to know the status on his mac-to-be-repaired, a button- click
  282. switches to the Repairs file, selecting the most recent repair order of
  283. that customer. All this works very well and very fast. It is written in
  284. Omnis3 :-(.                     ^^^^^  (between the bombs, that is)
  285.  
  286. This friend has tried to make an equivalent system in 4Th dim. 
  287. According to him, 4Th dim currently has too many limitations to build an
  288. equivalent system. One limitation being the lack of speed. 
  289.  
  290. I hope someone can prove him wrong.
  291.  
  292. 6. A complained from myself , after having toyed with it.  The  user
  293. interface is _rude_.
  294.  
  295. 6a The grid in the entry-lay out is useless. Ever tried to make nice
  296. border- boxes around fields ? A  pain. 6b When selecting multiple fields
  297. (using a marquee), also the gray rect and the black drop-shadow rects
  298. get selected, and it is very difficult to shift-unselect them.
  299.  
  300. ...and numerous other little but annoying user-interface quircks.
  301.  
  302. 7 The whole program is very modal. If you choose one mode(Environment),
  303. all windows of the other environment get closed. If you get back at  the
  304. previous mode, and open the same windows, they have forgotton their 
  305. settings (location, size, fontsize,..).
  306.  
  307. Acius should look at Filemaker plus and get inspired by the user
  308. interface of that product. I think it would also be good for the u.i. of
  309. 4Th dimension if it where ported to MacApp. (For example, the
  310. 'Structure' window would become WYSIWYG, and get 'Show paper borders'
  311. lines).
  312.  
  313. 8 There is no easy way (that is, whitout making procedures) to make a
  314. selection of a file using as criterium a field of a linked file.
  315.  
  316. I mean the kind of selection SQL (and dBAseMac ?) allows:
  317.  
  318. 'Give all customers that have a Mac in repair with a repair cost of over
  319. $100.' (The repair data is kept in a file seperate from the customers.)
  320.  
  321.  
  322.  
  323. I hope the most of the above points stem from the fact I and my friends 
  324. do not understand the product very good. In that case I apologize.  If
  325. 4Th dim indeed suffers formentioned shortcommings (and perheps even
  326. others), I hope they will get addressed in future releases. Because, I
  327. like the  product (really!), but in its current implementation I do not
  328. dare to advice it to others, because I fear that when they try to build
  329. a realy complex sytem, it will reach its limits much sooner that Omnis3
  330. will.
  331.  
  332. -Henk van Tijen
  333.  
  334. Have a nice day
  335.  
  336.  
  337. ------------------------------
  338.  
  339. From: bill@utastro.UUCP (William H. Jefferys)
  340. Subject: Re: Looking for Mr. GoodDraw
  341. Date: 25 Jan 88 17:59:02 GMT
  342. Organization: UT AUSTIN Astronomy Department/McDonald Observatory
  343.  
  344. I can't compare them as I have never used Cricket Draw, but the
  345. following may be helpful. Canvas does support the 8 basic colors. As for
  346. the question about arcs, it won't do it exactly as you mention, but you
  347. can get the same effect (as I found experimentally) as follows:
  348.  
  349. Create an arc, and fill it with some pattern (that will give you a
  350. pie-shaped wedge). Duplicate it and shrink the second arc to the desired
  351. smaller radius. Then put the points of the pie wedges on top of each
  352. other. Now comes the trick: Select both wedges, and set them so that
  353. they COPY in XOR mode. The overlapping pieces of pie will cancel each
  354. other, leaving a filled piece of an annulus, which is (I think) what you
  355. want. If you group the two objects and move it on top of another, the
  356. other object will show through! So it's just like having a filled
  357. annulus and nothing else.
  358.  
  359. Bill Jefferys
  360.  
  361. -- 
  362. Glend.    I can call spirits from the vasty deep.
  363. Hot.    Why, so can I, or so can any man; But will they come when you
  364.     do call for them?    --  Henry IV Pt. I, III, i, 53
  365.  
  366.  
  367. ------------------------------
  368.  
  369. From: yossie@taux01.UUCP (Yossie Silverman )
  370. Subject: National Semiconductor 16M card and A/UX
  371. Date: 25 Jan 88 21:23:48 GMT
  372. Organization: National Semiconductor (Israel) Ltd.
  373.  
  374. Does anyone know if A/UX can take advantage of offboard memory like
  375. National Semiconductors 16M cards?  I know, I work for them but I can't
  376. seem to find out through internal sources so I am asking the network.
  377. -- 
  378. Yossie Silverman                                   What did the Caspian sea?
  379. National Semiconductor Ltd. (Israel)                - Saki
  380. UUCP: taux01!yossie@nsc.UUCP
  381. NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY
  382.  
  383.  
  384. ------------------------------
  385.  
  386. From: mentat@auscso.UUCP (Robert Dorsett)
  387. Subject: Setting cursor position and mouse speed.
  388. Date: 25 Jan 88 21:19:18 GMT
  389. Organization: Austin UNIX Users Group, Austin, Tx.
  390.  
  391. A few weeks ago, I posted a request for tips on how to set the screen
  392. cursor position, totally under software control, then reassociating that
  393. position with the mouse.  Eric Eide (u-eeide%ug.utah.edu@utah-cs.UUCP)
  394. kindly helped fill in some information that Apple, for some reason, has
  395. chosen to leave out of all its documentation (without even providing a
  396. ROM call to work around the lack of low-memory information).  Before I
  397. start receiving flames: yes, I know it's a bad idea to screw around with
  398. low memory, but one has no choice.
  399.  
  400.  
  401. SO, here's a picture of relevant memory (courtesy Mr. Eide):
  402.  
  403. Variable MTemp, point (longword), $828.  You can get at it from
  404. Lightspeed C by defining the variable
  405.  
  406.     extern point mtemp : 0x828;
  407.  
  408. somewhere in your program.  You can use the same syntax for all the
  409. variables I discuss.  I'm not really sure what the variable does; it
  410. seems like an inter- mediate counter to take care of non-sequential
  411. movements.  There are quite a few data structures to handle cursor
  412. position, so this may not be correct.
  413.  
  414. Variable RawMouse, point (longword), $82C.  This is apparently the raw,
  415. input  mouse position before processing by the vertical retrace
  416. interrupt manager (?).
  417.  
  418. Variable CrsrBusy, boolean (byte), $8CD.  Prevents the mouse handler
  419. routines from doing anything to the cursor while we're messing around
  420. with it.
  421.  
  422. I initially tried the sequence (given a point I wished to move to):
  423.     crsrbusy=TRUE;
  424.     mtemp=mypoint;
  425.     rawmouse=mypoint;
  426.     crsrbusy=FALSE;
  427.  
  428. which didn't work.  That basically simulates "ObscureCursor()", i.e.,
  429. it'll hide the cursor until you move the mouse, then it'll jump to the
  430. desired location on the screen.
  431.  
  432. Mr. Eide later pointed out that for total software control, using the
  433. "temp- orary" variables", one needs another variable, CrsrNew.  This can
  434. then be inserted right before the last crsrbusy assignment to inform the
  435. system that the cursor needs updating.  The variable is located at $8CE,
  436. and is a boolean (byte).  I have not tried this, though.
  437.  
  438. In the meantime, I searched for other ways, since I had to have absolute
  439. soft- ware control of cursor position.  In a 1985 variable listing
  440. (fortunately, I don't throw things away), I discovered variable Mouse, a
  441. point (longword), at  location $830.  This is the "Mouse" position, such
  442. as "GetMouse()" might  return.
  443.  
  444. I found that I was able to change the cursor position with simply
  445.     mouse=mypoint;
  446.  
  447. but I still change the cursor busy state to be safe.  I haven't had a
  448. crash since playing with this stuff.
  449.  
  450. Mild flame at Apple: most of the above is relatively undocumented.  It
  451. is not in Inside Macintosh or any of the Tech Notes.  Mr. Eide got his
  452. information  from a book by Scott Knaster.  I managed to fill in the
  453. rest from the afore- mentioned variable list.  I can sympathize with the
  454. rationale in not wanting  people to mess with cursor position, but to
  455. HIDE the information indicates a  certain lack of trust in the judgement
  456. of developers (whether professional or amateur).  The notion of not
  457. relocating mouse position isn't particularly deep or difficult to
  458. understand, and I'd wager that anyone who has experienced a  cursor jump
  459. (such as during a disk access) can testify to the faint feeling of 
  460. disorientation it causes.  I doubt that you'd find anyone who will
  461. change  cursor position haphazardly (I am only interested because, when
  462. I call hide- cursor, I want the cursor to be where it disappeared when I
  463. call showcursor  again).  Your omission cost me a lot of time tracking
  464. this down.
  465.  
  466. Incidentally, the above variables seem to work on the SE, as well as the
  467. Plus.  They probably work on older Mac's as well, but I haven't tried.
  468.  
  469.  
  470. On to part two of this post.
  471.  
  472. The new Macs (Plus and beyond), as we all know, save several levels of
  473. mouse scaling in Parameter RAM.  The location and nature of this scaling
  474. is complete- ly undocumented in Inside Mac IV, and is disguised by a red
  475. herring  from the documentation for the old ROM's (crsrthresh) that is
  476. completely  unused by modern systems.
  477.  
  478. I have not been able to get scaling to work (and would appreciate any
  479. help from people who know how).  All I've been able to determine is that
  480. the spvolctl field (a variable byte at location $208) has been redefined
  481. under the 128K  and 256K ROM's to now include the scaling threshhold
  482. that is actually used.   Those of you with interest may wish to mark
  483. page II-372 of Inside Mac to in- dicate that the bits 11-15 of the
  484. VolClik field (spvolctl is the high-order byte of VolClik) are now used
  485. for scaling.  Problem is, the Control Panel only  sets bits 11, 12, 13,
  486. and 14.  I don't know if bit 15 is reserved, or whether  it's to
  487. indicate a level of sensitivity over and above "maximum" (it might be a
  488. good idea on very large screens).  At any rate, one can determine the
  489. mouse sen- sitivity after clearing bits 8-10, the sound level.  My
  490. problem: if I write in  new values, nothing happens.  The cursor
  491. sensitivity goes to maximum.  Anyone  who has clues as to why this is
  492. so, please contact me.
  493.  
  494. And a last flame at Apple: again, the tendency in "developer" support
  495. over the last six months or so has been to assume we don't know what
  496. we're doing.  I am well aware of the flames that the Mac is difficult to
  497. program, but I don't feel that an undue proportion of resources should
  498. be dedicated to cranking out tech notes noting the difference between
  499. such elementary concepts as a handle and a point.  Instead, PLEASE try
  500. to keep the information as useful and professional as possible.  If you
  501. can't publish information, don't publish. It's not your responsibility
  502. to *teach* people how to program, yet there were at least three tech
  503. notes last year which attempted to do precisely that.
  504. -- 
  505. Robert Dorsett                  {allegra,ihnp4}!ut-sally!ut-emx!
  506.                     walt.cc.utexas.edu!mentat
  507. University of Texas at Austin    {allegra, ihnp4}!ut-sally!ut-emx!auscso!mentat  
  508.  
  509.  
  510. ------------------------------
  511.  
  512. From: cole@sas.UUCP (Tom Cole)
  513. Subject: Re: SAS/GRAPH on Mac
  514. Date: 26 Jan 88 00:53:41 GMT
  515. Organization: SAS Institute Inc.,Cary NC,25712
  516.  
  517. Well, one pretty easy technique (if you have a little time) is to use
  518. the SAS/Graph metagraphics capability.  This is a "generic" device
  519. driver that  outputs a text file that contains all the graphics
  520. generated, instead of spooling out a picture.  The format of the
  521. metagraphics file is documented in a SAS technical report.  I believe
  522. you must make a metagraphics attribute file that describes the eventual
  523. device - identify the size of the graphics area, color support,
  524. "hardware" polygon fill, etc.  SAS then generates the appropriate
  525. metacodes.
  526.  
  527. You then use VersaTerm, Kermit, or whatever to download the file to your
  528. Mac. You can then write a simple program that reads the meta file and
  529. does the appropriate PICT-type drawing.  Save the picture as a MacDraw
  530. image, or whatever.
  531.  
  532. I have a sample program (and the associated SAS/Graph attribute file)
  533. that does this very job.  Send me email or whatever if you want more
  534. details, the software is free (the Mac software that is, SAS/Graph is
  535. *not* free).
  536. -- 
  537. Tom Cole, E-3
  538. VAX Host Development
  539. PO Box 8000
  540. 1 SAS Circle
  541. Cary NC 27512
  542.  
  543. [The usual deal about opinions and employers, both of which I currently
  544.  have and hope to keep...]
  545. j
  546.  
  547.  
  548. ------------------------------
  549.  
  550. From: merchant@eleazar.Dartmouth.EDU (Peter Merchant)
  551. Subject: Shareware Curiousity
  552. Date: 25 Jan 88 04:25:49 GMT
  553. Organization: U.S. Merchant Marine Academy, Kings Point, NY
  554.  
  555. Recently, a batch of us were sitting around discussing the legality of
  556. shareware, after reading some postings on the net, and some interesting
  557. questions were brought up:
  558.  
  559. a) At many collegiate institutions, you buy your personal computer and
  560. you agree that you will not be using it for business purposes.  So, if I
  561. bought my Macintosh through the campus computer store, then I bought
  562. Lightspeed Pascal (or C or whatever) and I wrote this neat program, is
  563. it legal for me to charge money for it?
  564.  
  565. b) At many collegiate institutions, you have "public" Macintoshes (ie, a
  566. room of Macs set up for people to use.)  If I were to buy a programming
  567. language and write the same neat program that I wrote above, is it legal
  568. for me to charge money for it?  Is the college, who owns the machine
  569. that I did the work on, legally entitled to some percentage of the money
  570. that I make?
  571.  
  572. c) I have a Macintosh sitting on my desk that is owned by my employer. 
  573. I write that neat program and charge money for it and I get a
  574. significant amount of money for it, is my employer entitled to some
  575. percentage of that money because I used their machine for the
  576. development, even if the program was not developed on the employers
  577. time?  The employer did, after all, provide the machine, the electricity
  578. to run the machine, the heat for the office that the machine is in,
  579. etcetera, etcetera... -- "You might as well jump..."           Peter
  580. Merchant (merchant@eleazar.UUCP)
  581.  
  582.  
  583. ------------------------------
  584.  
  585. From: twakeman@hpcea.CE.HP.COM (Teriann Wakeman)
  586. Subject: Re: SAS/GRAPH on Mac
  587. Date: 25 Jan 88 23:30:56 GMT
  588. Organization: HP Corporate Engineering - Palo Alto, CA
  589.  
  590. You didn't state if the graph was in bitmap or vector format. Bitmaped
  591. drawings plot poorly. The plotter makes the drawing byproducing a number
  592. of dots. If the drawing is enlarged, the plotter would draw it by 
  593. producing a series of blocks. If it is in vector format, it probably has
  594. an option to save in PICT format. Once in PICT format it could be
  595. plotted by a plotter driver. The current best on the market, in my
  596. opinion, is  MacPlotts II (not to be confused with MacPlot) by Computer
  597. Shoppe. Sorry, but I don't think it would help to bring a bit maped
  598. picture into MacDraw then save it in PICT format. I think that it will
  599. still look bit mapped.
  600.  
  601. Good Luck,
  602.  
  603. TeriAnn
  604.  
  605.  
  606. ------------------------------
  607.  
  608. From: tedj@hpcilzb.HP.COM (Ted Johnson)
  609. Subject: LSC DrawString() question!  Help!
  610. Date: 25 Jan 88 07:14:32 GMT
  611. Organization: HP Design Tech Center - Santa Clara, CA
  612.  
  613. Could someone give me a hand with this strange LSC problem?  I am trying
  614. to print a line of text in a DA's window, using code similiar to this:
  615.  
  616.     char tempstring[100];
  617.  
  618.         sprintf(tempstring, "%s %d %s %d","the square of", 
  619.             x, "is", (x * x));
  620.         DrawString(CtoPstr(tempstring));
  621.         PtoCstr(tempstring);
  622.  
  623. This works fine if I do it from a "regular" application (i.e., one which
  624. prints all its results to LSC's stdio window), but it crashes with an ID
  625. = 03 whenever I try to do it from inside a DA.  I am totally nonplussed.
  626.  Can someone please give me a clue?  Thanks!
  627.  
  628. -Ted
  629. -- 
  630. -----------------------------
  631. Ted Johnson
  632. Hewlett-Packard
  633. Design Technology Center
  634. (408)553-3555
  635. UUCP: ...hplabs!hpdtc!tedj
  636.  
  637.  
  638.  
  639.  
  640. ------------------------------
  641.  
  642. From: rs4u+@andrew.cmu.edu (Richard Siegel)
  643. Subject: Re: Anyone doing GPIB on MACII using National card?
  644. Date: 26 Jan 88 15:36:15 GMT
  645. Organization: Carnegie Mellon University
  646.  
  647.  
  648. I believe that NI has interface libraries for (at least) LightspeedC.
  649. Their  Mac software development (such as labVIEW) was done in
  650. LightspeedC (smart  folks :-)). Give them a call; they're most helpful
  651. in the technical  department, and may be able to get you started. I was
  652. writing interfaces for  Lightspeed Pascal for their MacBus SCSI->IEEE
  653. box, and they assisted  considerably.
  654.  
  655.         --Rich
  656.  
  657.  
  658. ------------------------------
  659.  
  660. From: markus@liutde.UUCP (Markus Kaipainen)
  661. Subject: VLSI design tools
  662. Date: 25 Jan 88 14:56:11 GMT
  663. Organization: Dep. of E. Eng., Linkoping University, S-581 83 Linkoping
  664.  
  665. Have anybody ported the VLSI design tools - Magic - to Mac II? Is there
  666. someone out there planning to? Please let us know!
  667.  
  668.     Markus Kaipainen
  669.  
  670.  
  671. ------------------------------
  672.  
  673. From: phd@SPEECH1.CS.CMU.EDU (Paul Dietz)
  674. Subject: Re: Anyone doing GPIB on MACII using National card?
  675. Date: 26 Jan 88 17:54:52 GMT
  676. Organization: Carnegie-Mellon University, CS/RI
  677.  
  678. I've been doing music synthesis on an NBMIO-16 analog I/O board, and
  679. have had frequent opportunity to call National Instruments *toll free*
  680. (very important for starving gradual students...) technical support
  681. line. They try hard to be helpful, but not all the people who answer the
  682. phones can answer the tough questions. When I'm lucky, I call when all
  683. the support people are in a meeting, and I get to speak to one of their
  684. engineers. That's when I really get answers to my questions.
  685.  
  686. The library routines are called 'LabDriver', and the early versions
  687. still appear to be quite buggy. Whenever possible, I avoid their
  688. libraries, and just use my own code.
  689.  
  690. -- 
  691. Paul H. Dietz                                        ____          ____
  692. Dept. of Electrical and Computer Engineering        / oo \        <_<\\\
  693. Carnegie Mellon University                        /|  \/  |\        \\ \\
  694. --------------------------------------------     | | (  ) | |       | ||\\
  695. "If God had meant for penguins to fly,             -->--<--        / / |\\\  /
  696. he would have given them wings."            _________^__^_________/ / / \\\\-
  697.  
  698.  
  699. ------------------------------
  700.  
  701. From: buzz@phoenix.Princeton.EDU (Mahboud Zabetian)
  702. Subject: AU/X gudelines for Mac application development
  703. Date: 26 Jan 88 20:10:06 GMT
  704. Organization: Advanced Technology, Princeton University
  705.  
  706.  
  707. This is in response to the person who complained that Apple has not yet
  708. released guidelines for mac applications that will run under AU/X.
  709.  
  710. The following is a summary of some of the responses that I received from
  711. Apple. They may not be entirely correct, so please (anyone from Apple?)
  712. correct me if I am wrong.
  713.  
  714.  
  715. Most Mac binaries will not run under AU/X.  Less than 1% of current mac
  716. programs follow guidelines sufficiently enough to run under AU/X.  
  717.  
  718. Most applications run in a 24-bit address space and feel free to play
  719. around with the high bits of the addresses.  AU/X uses the PMMU to
  720. provide a 32-bit address space.
  721.  
  722. Applications cannot deal directly with hardware such as serial I/O chip
  723. or  floppy controllers.
  724.  
  725. Toolbox packages NOT supported:
  726.  
  727.     Printing Manager
  728.     Device Manager
  729.     Disk Driver
  730.     Sound Manager
  731.     Serial Driver
  732.     AppleTalk Manager
  733.     Vertical Retrace Manager
  734.     Disk Initialization Package
  735.     SCSI Manager
  736.     Time Manager
  737.  
  738.  
  739.  
  740. Well, that's as much as I know, please mail me any other info and I will
  741. compil  a list.
  742.  
  743. -- 
  744. Mahboud Zabetian                buzz@phoenix.princeton.edu
  745. 183 Little Hall                     (609) 520-1271
  746. Princeton University, Princeton, NJ 08544        (609) 734-7760
  747. ****** Anyone need a soon-to-graduate hardware/software engineer? ********
  748.  
  749.  
  750. ------------------------------
  751.  
  752. From: dunham@demon.siemens-rtl (Paul H Dunham)
  753. Subject: Yacc for the Mac!!!!
  754. Date: 26 Jan 88 20:37:48 GMT
  755. Organization: Siemens Research and Technology Labs, Princeton NJ
  756.  
  757. I had heard that there are YACC's available for the Mac.  If so, where
  758. do I get one?  Also how well will it work on my Mac II?
  759.  
  760.   Please respond by e-mail.
  761.  
  762.   Thanks,
  763.     Paul H. Dunham
  764. -- 
  765. 3608 Lancaster Ave| 105 College Rd East| dunham@demon.siemens.COM
  766. Phila, Pa. 19104  | Princeton, NJ 08540| dunham@demon.UUCP
  767. 215/387-8723/home | 609/734-3611 (work)| rutgers!princeton!siemens!demon!dunham
  768. *** Dante' drives a station wagon.  ***| cornell!rochester!udel!princeton...
  769.  
  770.  
  771. ------------------------------
  772.  
  773. From: dgold@apple.UUCP (David Goldsmith)
  774. Subject: Re: Setting cursor position and mouse speed.
  775. Date: 26 Jan 88 18:26:30 GMT
  776. Organization: Apple Computer Inc., Cupertino, USA
  777.  
  778. The reason that all of these globals and functions are undocumented is
  779. that we consider them internal and not part of our published interface. 
  780. The list of low memory globals which was published in 1985 and again in
  781. Scott Knaster's book are FOR DEBUGGING ONLY.  They do not constitute a
  782. commitment by Apple to keep them in the same place or with the same
  783. function.  The only globals whose use Apple supports are the ones
  784. defined in Inside Macintosh and our Tech Note series.
  785.  
  786. I can't overemphasize how important this is.  We will not be able to
  787. evolve our systems and software without breaking applications if
  788. developers take advantage of unsupported and undocumented features. 
  789. Changing the mouse position directly is an operation we do not support. 
  790. The way this code works has changed already since the Macintosh was
  791. introduced, as you yourself note in your posting, and may well change
  792. again in future systems or software releases.  If it does, your
  793. application will break.  We have already had trouble with applications
  794. breaking because they assumed they could observe and/or modify low
  795. memory globals which they knew of from the listings which have been
  796. published.
  797.  
  798. I realize it can be frustrating to want to accomplish something and be
  799. stopped because Apple does not give you a way to do it.  It's especially
  800. tempting to work around this by snooping into the implementation of the
  801. system and using the information gained.  This can only lead to problems
  802. down the road.  Since everyone on this network is familiar with UNIX,
  803. I'm sure you'll all agree that a system must have a defined architecture
  804. which programmers adhere to if that system is to evolve.  It is
  805. unfortunate that the Macintosh's runtime architecture does not make the
  806. distinction between public and private globals apparent.
  807.  
  808. We are not perfect, and sometimes are not 100% clear on communicating
  809. what should and should not be done, and what globals should and should
  810. not be used.  Sometimes we even change our minds, since we are not able
  811. to see into the future.  This is why we have a tech support department.
  812.  
  813. I hope this (rather long) posting helps to clarify the situation.
  814.  
  815. -- 
  816. David Goldsmith
  817. Apple Computer, Inc.
  818.  
  819. AppleLink: GOLDSMITH1
  820. UUCP:  {nsc,dual,sun,voder,ucbvax!mtxinu}!apple!dgold
  821. CSNET: dgold@apple.CSNET, dgold%apple@CSNET-RELAY
  822. BIX: dgoldsmith
  823.  
  824. ------------------------------
  825.  
  826. End of Usenet Mac Digest
  827. ************************
  828. -------
  829.